package com.shqcjd.generalplatformprojectclient.api;

import com.shqcjd.generalplatformprojectclient.model.ResponseData;
import com.shqcjd.generalplatformprojectclient.model.pojo.LoginBean;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by sy on 2019/1/15.
 */

public interface TokenService {
    @POST(HttpUrl.LOGIN)
    @FormUrlEncoded
    Call<ResponseData<LoginBean>> refreshToken(@Field("phoneNumber") String phoneNumber, @Field("password") String password,@Field("app") int app);

}
